package com.mes.biz.mapper;

import com.mes.biz.domain.BizPurchase;
import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizOrderAttach;

import java.util.List;

/**
 * 销售单附件Mapper接口
 * @author hwg
 * @email hwg
 * @date 2023-05-15
 */
public interface BizOrderAttachMapper extends BaseMapper<BizOrderAttach> {

    List<BizOrderAttach> getBizOrderAttachByOrderId(@Param("orderId") String orderId);

    List<BizOrderAttach> getAttachByOrderIdWithType(@Param("orderId") String orderId, @Param("type") Integer type);

    int deleteBizOrderAttachByIds(@Param("ids") String[] ids, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);
}
